package com.youngjun.common.security.service.impl;

import com.youngjun.common.security.service.AuthCallbackService;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class DefaultAuthCallbackServiceImpl implements AuthCallbackService {

    public void loginSuccess(HttpServletRequest request,HttpServletResponse response,Authentication authentication){

    }

    public void loginFailure(HttpServletRequest request,HttpServletResponse response,AuthenticationException e){

    }

    public void logoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication){

    }

    public void authEntryPoint(HttpServletRequest request,HttpServletResponse response,AuthenticationException e){

    }

    public void accessDenied(HttpServletRequest request, HttpServletResponse response, AccessDeniedException e){

    }

}
